package cn.tedu.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Component;

//Lombok插件的注解；简化操作
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors (chain = true)

@Component //spring提供的IOC
public class Car {
    private  Integer id ;//id
    private  String name ;
    private  String type;
    private  String color;
    private  Double price;





}
